/**
 * $Id: PayConfig.java Nov 20, 2014 2:18:56 PM hdp
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.aurora.app.constant;

/**
 * 配置微信支付账号信息
 * @author yongjiang.lin
 *
 */
public final class PayConfig {

	private PayConfig() {
		throw new RuntimeException("PayConfig can't init");
	}

	// =======【基本信息设置】=====================================

	/**
	 * 微信支付商户号
	 */
	public static final String MCHID = "1374055602";
//	/**
//	 * 商户支付密钥Key。审核通过后，在商户平台账户中心的api那里找
//	 */
	public static final String KEY = "402881f0566cea1301566d06e4cd0000";
//	/**
//	 * JSAPI接口中获取openid，审核后在公众平台开启开发模式后可查看
//	 */
	// public static final String APPSECRET =
	// "48888888888888888888888888888887";

	// =======【异步通知url设置】===================================
	/**
	 * 异步通知url，商户根据实际开发过程设定
	 */
	public static final String NOTIFY_URL = "http://www.used2.cn/used2/api/pay/back/notify.do";

	// =======【curl超时设置】===================================
	/**
	 * 本例程通过curl使用HTTP POST方法，此处可修改其超时时间，默认为30秒
	 */
	public static final int CURL_TIMEOUT = 30;
	/**
	 * 统一支付接口
	 */
	public static final String CURL_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
	/**
	 * 查询订单接口
	 */
	public static final String SEARCHORDER_URL = "https://api.mch.weixin.qq.com/pay/orderquery";
	/**
	 * 退款接口
	 */
	public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
	/**
	 * 退款查询
	 */
	public static final String REFUND_QUERY_URL = "https://api.mch.weixin.qq.com/pay/refundquery";
}
